<span class="rating_stars <?= $model->rating_all ? 'stars_'.str_replace('.', '', $model->rating_all) : 'no_rating' ?>"><?= $model->rating_all ? $model->rating_all : 'no rating' ?></span> 